#include "ctype.h"

namespace PDFTools {
namespace Parser {

// space chars "\0\t\r\f\n "    = 1
// delimiter chars "()<>[]{}/%" = 2

const char charType[256]={
  1,0,0,0,0,0,0,0, 0,1,1,0,1,1,0,0,  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
  1,0,0,0,0,2,0,0, 2,2,0,0,0,0,0,2,  0,0,0,0,0,0,0,0, 0,0,0,0,2,0,2,0,
  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,  0,0,0,0,0,0,0,0, 0,0,0,2,0,2,0,0,
  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,  0,0,0,0,0,0,0,0, 0,0,0,2,0,2,0,0,
  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,  0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,
};

} // namespace Parser
} // namespace PDFTools
